package org.jeecg.modules.staff.order.service;

import io.swagger.models.auth.In;
import org.jeecg.modules.staff.order.dto.StationReq;
import org.jeecg.modules.staff.order.entity.ClockReq;
import org.jeecg.modules.staff.order.entity.ScanCodeReq;
import org.jeecg.modules.work.sweep.dto.WorkReq;
import org.jeecg.modules.utils.BikeResult;

import javax.servlet.http.HttpServletRequest;

public interface OrderService {


    /**
     * 我的任务单
     */
    BikeResult getOrderList(Integer pageNum,Integer pageSize, HttpServletRequest request);


    /**
     * 查询工单
     * @param workReq
     * @param request
     * @return
     */
    BikeResult getWorkOrderList(WorkReq workReq, HttpServletRequest request);

    /**
     * 打卡
     */
    BikeResult repairPunchClock(ClockReq clockReq, HttpServletRequest request);

    /**
     * 保洁扫码打卡
     */
    BikeResult cleaningPunchClock(ScanCodeReq scanCodeReq,HttpServletRequest request);

    /**
     * 开关锁详情
     */
    BikeResult switchLock(Integer pageNum, Integer pageSize, HttpServletRequest request);

    /**
     * 车桩设置
     */
    BikeResult getByStationList(String areId, HttpServletRequest request);

    /**
     * 获取车桩
     */
    BikeResult getPileList(String stationId);

    /**
     *  车桩设置回显
     */
    BikeResult  getByStationId(String id);

    /**
     * 根据id查询车桩信息
     */
    BikeResult getPileById(String id,String stationId);

    BikeResult updateStation(StationReq stationReq);

    /**
     * 保洁签到扫码打卡
     */
    BikeResult cleaningSignInClock(ScanCodeReq scanCodeReq, HttpServletRequest request);

    /**
     * 根据权限和编码获取网点地图
     */
    BikeResult getByStationCode(String code, HttpServletRequest request);
}
